﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace CMSMVC4.Areas.Admin.Models
{
    public class SupportOnlineModel
    {
        [Required(ErrorMessageResourceType = typeof(MultiResource.Admin),
            ErrorMessageResourceName = "UrlRequired")]
        public string Url { get; set; }

        [Required(ErrorMessageResourceType = typeof(MultiResource.Admin),
            ErrorMessageResourceName = "TypeRequired")]
        public int Type { get; set; }

        [Required(ErrorMessageResourceType = typeof(MultiResource.Admin),
            ErrorMessageResourceName = "DisRequired")]
        public string Name { get; set; }
    }
}